home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / slascl.z / slascl
Encoding:
Text File  |  2002-10-03  |  4.1 KB  |  133 lines

  1.  
  2.  
  3.  
  4. SSSSLLLLAAAASSSSCCCCLLLL((((3333SSSS))))                                                          SSSSLLLLAAAASSSSCCCCLLLL((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      SLASCL - multiplie the M by N real matrix A by the real scalar CTO/CFROM
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      SUBROUTINE SLASCL( TYPE, KL, KU, CFROM, CTO, M, N, A, LDA, INFO )
  13.  
  14.          CHARACTER      TYPE
  15.  
  16.          INTEGER        INFO, KL, KU, LDA, M, N
  17.  
  18.          REAL           CFROM, CTO
  19.  
  20.          REAL           A( LDA, * )
  21.  
  22. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  23.      These routines are part of the SCSL Scientific Library and can be loaded
  24.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  25.      directs the linker to use the multi-processor version of the library.
  26.  
  27.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  28.      4 bytes (32 bits). Another version of SCSL is available in which integers
  29.      are 8 bytes (64 bits).  This version allows the user access to larger
  30.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  31.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  32.      only one of the two versions; 4-byte integer and 8-byte integer library
  33.      calls cannot be mixed.
  34.  
  35. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  36.      SLASCL multiplies the M by N real matrix A by the real scalar CTO/CFROM.
  37.      This is done without over/underflow as long as the final result
  38.      CTO*A(I,J)/CFROM does not over/underflow. TYPE specifies that A may be
  39.      full, upper triangular, lower triangular, upper Hessenberg, or banded.
  40.  
  41.  
  42. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  43.      TYPE    (input) CHARACTER*1
  44.              TYPE indices the storage type of the input matrix.  = 'G':  A is
  45.              a full matrix.
  46.              = 'L':  A is a lower triangular matrix.
  47.              = 'U':  A is an upper triangular matrix.
  48.              = 'H':  A is an upper Hessenberg matrix.
  49.              = 'B':  A is a symmetric band matrix with lower bandwidth KL and
  50.              upper bandwidth KU and with the only the lower half stored.  =
  51.              'Q':  A is a symmetric band matrix with lower bandwidth KL and
  52.              upper bandwidth KU and with the only the upper half stored.  =
  53.              'Z':  A is a band matrix with lower bandwidth KL and upper
  54.              bandwidth KU.
  55.  
  56.      KL      (input) INTEGER
  57.              The lower bandwidth of A.  Referenced only if TYPE = 'B',
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. SSSSLLLLAAAASSSSCCCCLLLL((((3333SSSS))))                                                          SSSSLLLLAAAASSSSCCCCLLLL((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      KU      (input) INTEGER
  75.              The upper bandwidth of A.  Referenced only if TYPE = 'B',
  76.  
  77.      CFROM   (input) REAL
  78.              CTO     (input) REAL The matrix A is multiplied by CTO/CFROM.
  79.              A(I,J) is computed without over/underflow if the final result
  80.              CTO*A(I,J)/CFROM can be represented without over/underflow.
  81.              CFROM must be nonzero.
  82.  
  83.      M       (input) INTEGER
  84.              The number of rows of the matrix A.  M >= 0.
  85.  
  86.      N       (input) INTEGER
  87.              The number of columns of the matrix A.  N >= 0.
  88.  
  89.      A       (input/output) REAL array, dimension (LDA,M)
  90.              The matrix to be multiplied by CTO/CFROM.  See TYPE for the
  91.              storage type.
  92.  
  93.      LDA     (input) INTEGER
  94.              The leading dimension of the array A.  LDA >= max(1,M).
  95.  
  96.      INFO    (output) INTEGER
  97.              0  - successful exit <0 - if INFO = -i, the i-th argument had an
  98.              illegal value.
  99.  
  100. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  101.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  102.  
  103.      This man page is available only online.
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.